package run.bottle.gof23.single;

//静态内部类单例
public class StaticSingle {

    private StaticSingle(){}

    private static class StaticSingleInside{
        private static StaticSingle INSTANCE = new StaticSingle();
    }

    public static StaticSingle getInstance(){
        return StaticSingleInside.INSTANCE;
    }

}
